package com.tyk.bookstore.back.product.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class BookDto {
    @Schema(description = "ID")
    private Long id;
    @Schema(description = "书名")
    private String name;
    @Schema(description = "价格")
    private BigDecimal price;
    @Schema(description = "封面路径")
    private String cover;
}
